package org.gokeep.communication.engine.udp;

import lombok.extern.slf4j.Slf4j;

import java.net.DatagramPacket;

/**
 * @author xuning
 */
@Slf4j
public class UdpPrintProcess extends MessageProcess{
    @Override
    public void process(DatagramPacket datagramPacket) {
        InetAddress address = getAddress();
        log.info("Udp receiver {}:{} message is: {}", address.getHost(), address.getPort(), string());
    }
}
